package sample.negative.service;

/**
 * 提醒服务
 */
public class NotificationService {

    private EmailService emailService = new EmailService();

    /**
     * 发送提醒
     * @param message 内容
     * @param receiver 接收者
     */
    public void sendNotification(String message, String receiver) {
        emailService.sendEmail(message, receiver);
    }
}
